package com.example.websocket.service;

import com.example.websocket.pojo.Pyq;
import com.example.websocket.pojo.dto.CommentDto;
import com.example.websocket.pojo.dto.LikeDto;
import com.example.websocket.pojo.dto.PublishPyqDto;

import java.util.List;

/**
 * @ author 韩
 * time: 2024/3/8 11:48
 */

public interface PyqService {
    List<Pyq> getPyqList();

    boolean addLike(LikeDto likeDto);

    boolean deleteLike(LikeDto likeDto);

    boolean addComment(CommentDto commentDto);

    Boolean publishPyq(PublishPyqDto dto);
}
